class CnApiNet {
  //连接服务器超时时间，单位是毫秒
  static const int CONNECT_TIMEOUT = 30000;
  //接收超时时间，单位是毫秒
  static const int RECEIVE_TIMEOUT = 30000;

  static const String activityChannel = 'cyberNex';

  //埋点接口
  static const String k_logLiveChatPath =
      "https://log.cosmofusionly.xyz/log/live-chat";
  //地址域名
  static const String BASE_URL = 'http://test-app.cosmofusionly.xyz/';

  //===================公共接口============
  static const String kPath_login = "security/oauth";
  static const String kPath_isValidToken = "security/isValidToken";
  static const String kPath_getUserInfo = "user/getUserInfo"; //获取单个用户信息
  static const String kPath_saveUserInfo = "user/saveUserInfo";
  static const String kPath_updateAvatar = "user/updateAvatar";
  static const String kPath_policy = "user/oss/policy";
  static const String kPath_searchgoods = "coin/goods/search";
  static const String kPath_getUserCoins = "user/getUserCoins";
  static const String kPath_deleteAccount = "user/deleteAccount";
  static const String kPath_logout = "security/logout";
  static const String kContentSearch = "config/content/search";
  static const String kvideoCallMatchPath = "video-call/match";
  static const String kPath_createRecharge = "coin/recharge/create";
  static const String kPath_reviewModeConsume_a = "coin/reviewModeConsume";
  static const String kPath_getAppConfig = "config/getAppConfig";
  static const String kPath_getStrategy = "config/getStrategy"; //策略配置接口
  static const String kPath_searchWall = "broadcaster/wall/search";
  static const String kPath_removeBlock =
      "report/complain/removeBlock"; //解除屏蔽主播
  static const String kPath_complain =
      "report/complain/insertRecord"; //屏蔽主播、举报主播
  static const String kPath_AddFriend = "user/addFriend"; //添加关注
  static const String kPath_unfriend = "user/unfriend"; //取消关注
  static const String kPath_blockList = "report/complain/blockList";
  static const String kPath_createRecharge_a = "coin/recharge/create";
  static const String kPath_paymentIpa_a = "coin/recharge/payment/ipa";
  static const String kPath_getFriendList =
      "user/getFriendsListPage"; //获取用户关注列表
  static const String kPath_getRongCloudToken = "user/rongcloud/token";
  static const String kPath_hangUp = "video-call/hangUp";
  static const String kPath_createChannel = "video-call/channel/create";
  static const String kPath_channeljoin = "video-call/channel/join";

  static const String kUserProtocolUrl =
      "https://h5.cosmofusionly.xyz/termConditions.html"; //用户协议
  static const String kPrivacyPolicyUrl =
      "https://h5.cosmofusionly.xyz/privacyPolicy.html"; //隐私政策
}
